|
|
|
BlueCielo Meridian Enterprise 2013 Developer's Guide | BlueCielo ECM Solutions |
The AMOpenVault object is a client-side component that implements the Open Vault dialog. All stand-alone Meridian Enterprise applications should use this dialog to allow users to select a vault.
Remarks
The SelectedVault property is an AMVaultLink object. It is set to the vault that the user selects from the dialog. It can also be initialized to set the initial focus in the Open Vault dialog.
See AMVaultLink object for a description of how to open the vault.
The Show method will display the Open Vault dialog. The dialog will be modal to the window whose handle is passed as argument. When the user has selected a vault, the method returns True.
Example
Dim oOpenVault As New AMOpenVault
Dim dr as AMDocumentRepository
' Initialize the dialog to show only vaults
oOpenVault.ShowDateTime = False
oOpenVault.ShowDatastores = False
oOpenVault.ShowWorkPackages = False
' Show the OpenVault Dialog
If (oOpenVault.Show(hWnd)) Then
' The user selected a vault
Ser dr = oOpenVault.SelectedVault.CreateVault
Else
' The user canceled the dialog
End If
Copyright © 2000-2013 BlueCielo ECM Solutions |